package cn.s1995.sloth.bizs.service;

import cn.s1995.sloth.bizs.entity.UserCollection;

import java.util.Set;

import com.github.yulichang.base.MPJBaseService;

public interface UserCollectionService extends MPJBaseService<UserCollection> {

	/**
	 * 获取用户收藏的产品的id
	 * @param uid
	 * @return
	 */
	Set<Long> getUserCollectProdIds(Long uid);

	/**
	 * 更新缓存
	 * @param uid
	 * @param userCollectProdIds
	 */
	Set<Long> updateUserCollectProdIds(Long uid, Set<Long> userCollectProdIds);

}
